package com.spic.business.violation.supervision.information.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spic.business.violation.supervision.information.domain.ViolationInformation;
import com.spic.business.violation.supervision.information.domain.ViolationInformationDirty;

import java.util.HashMap;
import java.util.List;

/**
 * 违章举报Mapper接口
 *
 * @author spic
 * @date 2021-10-14
 */
public interface ViolationInformationDirtyMapper extends BaseMapper<ViolationInformationDirty>
{
    /**
     * 查询违章举报
     *
     * @param id 违章举报主键
     * @return 违章举报
     */
    public ViolationInformationDirty selectViolationInformationById(Long id);

    /**
     * 查询违章举报列表
     *
     * @param violationInformation 违章举报
     * @return 违章举报集合
     */
    public List<ViolationInformationDirty> selectViolationInformationList(ViolationInformationDirty violationInformation);


    Integer allDirtyCount();
}
